<script setup lang="ts">
const date: Date = new Date();
const today = {
    year: date.getFullYear(),
    month: date.getMonth() + 1,
    day: date.getDate(),
    hour: date.getHours(),
    minute: date.getMinutes(),
    second: date.getSeconds()
};
const events: any[] = [
    {
        starts: { year: today.year, month: today.month, day: today.day, hour: 8, minute: 0, second: 0 },
        ends: { year: today.year, month: today.month, day: today.day, hour: 9, minute: 0, second: 0 },
        title: '站立会'
    },
    {
        starts: { year: today.year, month: today.month, day: today.day, hour: 9, minute: 0, second: 0 },
        ends: { year: today.year, month: today.month, day: today.day, hour: 10, minute: 0, second: 0 },
        title: '评审需求'
    },
    {
        starts: { year: today.year, month: today.month, day: today.day, hour: 13, minute: 30, second: 0 },
        ends: { year: today.year, month: today.month, day: today.day, hour: 15, minute: 30, second: 0 },
        title: '迭代总结会'
    }
];
</script>
<template>
    <f-calendar :events="events"></f-calendar>
</template>
